<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>新浪导航栏练习</title>
		<style type="text/css">
			.nav {
				height: 2.5625rem;
				background-color: #fcfcfc;
				border-top: 0.25rem #ff8500 solid;
			}
			.nav a {
				display: inline-block;
				height: 2.5625rem;
				font: 0.75rem/2.5625rem "microsoft yahei";
				color: #4c4c4c;
				text-decoration: none;
				/* background-color: #008000; */
				padding: 0rem 1.25rem;
			}
			.nav a:hover {
				background-color: #edeef0;
				color: #ff8400;
			}
		</style>
	</head>
	<body>
		<div class="nav">
			<a href="#">设为首页</a>
			<a href="#">手机新浪网</a>
			<a href="#">移动客户端</a>
			<a href="#">登录</a>
			<a href="#">微博</a>
			<a href="#">博客</a>
		</div>
	</body>
</html>
